import request from "@/utils/request";

// 查询订单账户信息列表
export function listBizOrderAccountInfo(query){
  return request({
    url: "/biz/bizOrderAccountInfo/list",
    method: "get",
    params: query
  })
}

// 查询订单账户信息详细
export function getBizOrderAccountInfo(id){
  return request({
    url: "/biz/bizOrderAccountInfo/" + id,
    method: "get"
  })
}

// 新增订单账户信息
export function addBizOrderAccountInfo(data){
  return request({
    url: "/biz/bizOrderAccountInfo",
    method: "post",
    data: data
  })
}

// 修改订单账户信息
export function updateBizOrderAccountInfo(data){
  return request({
    url: "/biz/bizOrderAccountInfo",
    method: "put",
    data: data
  })
}

// 删除订单账户信息
export function delBizOrderAccountInfo(id){
  return request({
    url: "/biz/bizOrderAccountInfo/" + id,
    method: "delete"
  })
}

// 查询最大编号
export function findMaxSort(){
  return request({
    url: "/biz/bizOrderAccountInfo/findMaxSort",
    method: "get"
  })
}
// 导出订单账户信息
export function exportBizOrderAccountInfo (query){
  return request({
    url: "/biz/bizOrderAccountInfo/export",
    method: "get",
    params: query
  })
}
